package com.zjuee.web.ledger.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zjuee.base.dto.common.ledger.LedgerProduceGatherDto;
import com.zjuee.base.model.common.ledger.LedgerProduceGather;
import com.zjuee.vo.LedgerProduceGatherVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * 产生台账汇总Mapper
 *
 * @author wu liang
 * @since 1.0
 */
@Mapper
public interface LedgerProduceGatherMapper extends BaseMapper<LedgerProduceGather> {
    Page<LedgerProduceGather> selectPageList(Page<LedgerProduceGather> page, @Param("params") LedgerProduceGatherDto ledgerProduceGather);
    List<LedgerProduceGather> selectList(@Param("params") LedgerProduceGather ledgerProduceGather);
    List<LedgerProduceGather> getListMap(@Param("params") LedgerProduceGatherVo condition);
    void updateBatch(ArrayList<LedgerProduceGather> updateLedger);
    LedgerProduceGather findOneByCondition(@Param("params") LedgerProduceGather ledgerProduceGather);

}
